package com.yidu.hbatsams.dao;

import com.yidu.hbatsams.domain.AtsPlanYearMore;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AtsPlanYearMoreMapper {
    /**
     *
     * @mbg.generated 2019-10-29
     */
    int deleteByPrimaryKey(Integer pid);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insert(AtsPlanYearMore record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insertSelective(AtsPlanYearMore record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    AtsPlanYearMore selectByPrimaryKey(Integer pid);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKeySelective(AtsPlanYearMore record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKey(AtsPlanYearMore record);

    /**
     * 查询全部数据
     * @param atsPlanYearMore
     * @return
     */
    List<AtsPlanYearMore> findAll(AtsPlanYearMore atsPlanYearMore);

    /**
     * 查询行数
     * @param atsPlanYearMore
     * @return
     */
    Long count(AtsPlanYearMore atsPlanYearMore);
}